const editorRoutes = {
  path: 'editor',
  name: 'editor',
  component: () => import('@/views/modules/editor/index.vue'),
  meta: {
    name: 'editor',
    icon: 'reading',
  },
  children: [
    {
      path: 'rich-text',
      name: 'editor-rich-text',
      component: () => import('@/views/modules/editor/rich-text.vue'),
      meta: {
        name: 'rich_text',
        icon: 'reading',
      },
    },
    {
      path: 'vue-flow',
      name: 'editor-vue-flow',
      component: () => import('@/views/modules/editor/vue-flow.vue'),
      meta: {
        name: 'vue_flow',
        icon: 'reading',
      },
    },
  ],
}

export default editorRoutes
